(0) Obligation:

Runtime Complexity TRS:
The TRS R consists of the following rules:

compS_f#1(compS_f(x2), x1) → compS_f#1(x2, S(x1))
compS_f#1(id, x3) → S(x3)
iter#3(0) → id
iter#3(S(x6)) → compS_f(iter#3(x6))
main(0) → 0
main(S(x9)) → compS_f#1(iter#3(x9), 0)

Rewrite Strategy: INNERMOST

(1) DecreasingLoopProof (EQUIVALENT transformation)

The following loop(s) give(s) rise to the lower bound Ω(n1):
The rewrite sequence
compS_f#1(compS_f(x2), x1) →+ compS_f#1(x2, S(x1))
gives rise to a decreasing loop by considering the right hand sides subterm at position [].
The pumping substitution is [x2 / compS_f(x2)].
The result substitution is [x1 / S(x1)].

(2) BOUNDS(n^1, INF)